package com.alatus.service;

import com.alatus.model.TActivity;
import com.alatus.query.ActivityQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ActivityService {
    PageInfo<TActivity> getActivityByPage(Integer current, ActivityQuery activityQuery);

    int saveActivity(ActivityQuery activityQuery);

    TActivity getActivityById(Integer id);

    int updateActivity(ActivityQuery activityQuery);

    int deleteActivtyById(Integer id);

    int delActivityByIds(List<String> idList);

    List<TActivity> getOnGoingActivities();
}